﻿using System;
namespace SF.Model
{
	/// <summary>
	/// 客户信息表
	/// </summary>
	[Serializable]
	public partial class sf_user_info
	{
		public sf_user_info()
		{}
		#region Model
		private long _id;
		private string _busniesenum;
		private string _appnum;
		private string _templatesnum;
		private string _usernum;
        private string _nickname;
        private string _realName;
        private string _idCard;
		private string _province;
		private string _city;
		private DateTime? _addtime;
		private string _openid;
		private string _photouri;
		private int? _isattention;
        private int? _sellmodel;
        private string _invitekey;
        private string _fatherkey;
        private long? _groupId;
        
		/// <summary>
		/// 自增Id
		/// </summary>
		public long id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 商户编号
		/// </summary>
		public string busnieseNum
		{
			set{ _busniesenum=value;}
			get{return _busniesenum;}
		}
		/// <summary>
		/// 公众号编号
		/// </summary>
		public string appNum
		{
			set{ _appnum=value;}
			get{return _appnum;}
		}
		/// <summary>
		/// 前台模版编号
		/// </summary>
		public string templatesNum
		{
			set{ _templatesnum=value;}
			get{return _templatesnum;}
		}
		/// <summary>
		/// 客户编号
		/// </summary>
		public string userNum
		{
			set{ _usernum=value;}
			get{return _usernum;}
		}
		/// <summary>
		/// 客户昵称
		/// </summary>
		public string nickName
		{
			set{ _nickname=value;}
			get{return _nickname;}
		}
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string realName
        {
            get { return _realName; }
            set { _realName = value; }
        }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string idCard
        {
            get { return _idCard; }
            set { _idCard = value; }
        }
		/// <summary>
		/// 省份
		/// </summary>
		public string province
		{
			set{ _province=value;}
			get{return _province;}
		}
		/// <summary>
		/// 城市
		/// </summary>
		public string city
		{
			set{ _city=value;}
			get{return _city;}
		}
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? addTime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 微信openId
		/// </summary>
		public string openID
		{
			set{ _openid=value;}
			get{return _openid;}
		}
		/// <summary>
		/// 客户头像
		/// </summary>
		public string photoUri
		{
			set{ _photouri=value;}
			get{return _photouri;}
		}
		/// <summary>
		/// 关注状态（1-已关注，0-未关注）
		/// </summary>
		public int? isAttention
		{
			set{ _isattention=value;}
			get{return _isattention;}
		}
		/// <summary>
		/// 销售模式Id（0-直销，1-分销...）
		/// </summary>
		public int? sellModel
		{
			set{ _sellmodel=value;}
			get{return _sellmodel;}
		}
        /// <summary>
        /// 邀请码--用于分销模式
        /// </summary>
        public string inviteKey
        {
            set { _invitekey = value; }
            get { return _invitekey; }
        }
        /// <summary>
        /// 父级邀请码--用于分销模式
        /// </summary>
        public string fatherKey
        {
            set { _fatherkey = value; }
            get { return _fatherkey; }
        }
        /// <summary>
        /// 用户分组Id
        /// </summary>
        public long? groupId
        {
            get { return _groupId; }
            set { _groupId = value; }
        }
		#endregion Model

	}
}

